import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { CompanyRoutingModule } from './company-routing.module';
import { CompanyListComponent } from './company-list/company-list.component';
import { CompanyDetailComponent } from './company-detail/company-detail.component';
import { CompanyIntegralListComponent } from './integral-list/integral-list.component';
import { Step1Component } from './step/step1.component';
import { Step2Component } from './step/step2.component';
import { Step3Component } from './step/step3.component';
import { CompanyAddComponent } from './company-add/company-add.component';
import { CompanySortComponent } from './company-sort/company-sort.component';
import { CompanyTypeListComponent } from './company-type-list/company-type-list.component';
import { CompanyTypeEditComponent } from './company-type-list/company-type-edit/company-type-edit.component';
import { Step1points1Component } from './step/step1points1.component';

const COMPONENTS = [
  CompanyListComponent,
  CompanyDetailComponent,
  CompanyAddComponent,
  CompanyIntegralListComponent,
  CompanySortComponent,
  CompanyTypeListComponent];
const COMPONENTS_NOROUNT = [
  Step1Component,
  Step1points1Component,
  Step2Component,
  Step3Component,
  CompanyTypeEditComponent];

@NgModule({
  imports: [
    SharedModule,
    CompanyRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT,
})
export class CompanyModule { }
